package com.company.management.service.reward;

import com.company.management.domain.reward.dto.PunishmentsAddDTO;
import com.company.management.domain.reward.dto.PunishmentsQueryDTO;
import com.company.management.domain.reward.vo.PunishmentsQueryVO;

import java.util.List;

/**
 * @description: 惩罚服务接口
 * @author: wangbin
 * @time: 2025/3/1
 **/
public interface PunishmentsService {
    /**
     * 新增
     */
    void add(PunishmentsAddDTO punishmentsAddDTO);
    /**
     * 根据惩罚id查询惩罚信息
     */
    PunishmentsQueryVO findByPunishmentId(Integer punishmentId);

    /**
     * 根据用户id查询惩罚列表
     */
    List<PunishmentsQueryVO> findByUserId(PunishmentsQueryDTO punishmentsQueryDTO);

}
